﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Domain.SalesManagement
{
    /// <summary>
    /// 客户单价
    /// </summary>
    public class UnitPrice
    {
        /// <summary>
        /// 客户单价Id
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public int CustomerId {  get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateTime {  get; set; }
        /// <summary>
        /// 产品
        /// </summary>
        public int ProductId {  get; set; }
        /// <summary>
        /// 单价（未税）
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 是否生效
        /// </summary>
        public int Effect {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Desc {  get; set; }
        /// <summary>
        /// 逻辑删除标识符
        /// </summary>
        public bool? IsDelete { get; set; } = false;
    }
}
